package net.codesree.action;

import java.util.Map;
import java.util.HashMap;
import java.io.Serializable;

public abstract class AbstractForm implements Serializable {
	
 protected Map<String,String> messages=null;
 protected Map<String,String> errors=null;
 protected boolean hasErrors=false;
 protected String multiSubmitToken=null;
 
 public AbstractForm() {
  this.errors=new HashMap<String,String>();
  this.messages=new HashMap<String,String>();
 }
 
 public void setMultiSubmitToken(String _multiSubmitToken) { this.multiSubmitToken=_multiSubmitToken; }
 public String getMultiSubmitToken() { return this.multiSubmitToken; }
  
}